package online.heycm.platform.redis.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 幂等锁锁注解，标记在类属性，表示该属性值为幂等锁锁的key值
 *
 * @author heycm
 * @since 2023/5/24 21:45
 */
@Target({ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface IdempotentKey {
}
